<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue的v-for</title>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>

</head>
<body>
    <div id="app">
        <ul>
            <li v-for="(a,i) in args" :key="i">{{i}}......{{a}}</li>
        </ul>
    </div>
       <script type="text/javascript">
           new Vue({
               el:"#app",
               data:{
                   args:[1,2,3,4,5]
               }
           });
       </script>
</body>
</html>